// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store';

import './permission';
//国际化
import { i18n } from "./i18n";
//markdown
import mavonEditor from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';
// 封装组件成插件全局注册
import fII_UI from './components';
// 引入组件库样式
import 'iview/dist/styles/iview.css';
// 引入组件库
import iView from 'iview';
// normalize包定义全局样式
import 'normalize.css';
// 引入全局scss变量
import './style/index.scss';

Vue.config.productionTip = false;
Vue.use(fII_UI);
Vue.use(mavonEditor);
Vue.use(iView);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  i18n,
  router,
  store,
  components: { App },
  template: '<App/>'
})
